projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c33a0b2
)
x86/AMD: don't set ARAT feature flag on family F CPUs
author
Jan Beulich
<jbeulich@novell.com>
Fri, 20 May 2011 08:11:54 +0000
(09:11 +0100)
committer
Jan Beulich
<jbeulich@novell.com>
Fri, 20 May 2011 08:11:54 +0000
(09:11 +0100)
Following Linux commit
14fb57dccb6e1defe9f89a66f548fcb24c374c1d
from
Borislav Petkov.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/cpu/amd.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/cpu/amd.c
b/xen/arch/x86/cpu/amd.c
index 7255e0ebbad6ac0176ad870e0cc9155ecb814354..3fa15ccb60cf56ada1eda1be46dc1421c861ee9d 100644
(file)
--- a/
xen/arch/x86/cpu/amd.c
+++ b/
xen/arch/x86/cpu/amd.c
@@
-475,7
+475,7
@@
static void __devinit init_amd(struct cpuinfo_x86 *c)
#endif
/* As a rule processors have APIC timer running in deep C states */
- if (c->x86 >
=
0xf && !cpu_has_amd_erratum(c, AMD_ERRATUM_400))
+ if (c->x86 > 0xf && !cpu_has_amd_erratum(c, AMD_ERRATUM_400))
set_bit(X86_FEATURE_ARAT, c->x86_capability);
/* Prevent TSC drift in non single-processor, single-core platforms. */